package com.lovesher.payment.common.enums;


public enum EnumResult {
	
	FAIL("失败", (int) -1),

	SUCCESS("成功", (int) 0),
	
	PARAM_ERROR("参数错误", (int) 100),
	
	NO_USER("无此用户", (int) 101),
	
	NO_INVITEUSER("该邀请人未注册", (int) 102),
	
	ALREADY_REGISTER("该手机号已注册", (int) 103),
	
	USER_NOT_EXIST_OR_WRONG_PASSWORD("用户名不存在或密码错误", (int) 104),
	;
	private String msg;
	private int value;

	private EnumResult(String msg, int value) {
		this.msg = msg;
		this.value = value;
	}

	public int getValue() {
		return this.value;
	}

	public String getMsg() {
		return this.msg;
	}
}
